﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000BBF RID: 3007
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolyMoveScRsp : IMessage<MonopolyMoveScRsp>, IMessage, IEquatable<MonopolyMoveScRsp>, IDeepCloneable<MonopolyMoveScRsp>, IBufferMessage
	{
		// Token: 0x170025E1 RID: 9697
		// (get) Token: 0x06008679 RID: 34425 RVA: 0x001656DF File Offset: 0x001638DF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolyMoveScRsp> Parser
		{
			get
			{
				return MonopolyMoveScRsp._parser;
			}
		}

		// Token: 0x170025E2 RID: 9698
		// (get) Token: 0x0600867A RID: 34426 RVA: 0x001656E6 File Offset: 0x001638E6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolyMoveScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170025E3 RID: 9699
		// (get) Token: 0x0600867B RID: 34427 RVA: 0x001656F8 File Offset: 0x001638F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolyMoveScRsp.Descriptor;
			}
		}

		// Token: 0x0600867C RID: 34428 RVA: 0x001656FF File Offset: 0x001638FF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyMoveScRsp()
		{
		}

		// Token: 0x0600867D RID: 34429 RVA: 0x00165714 File Offset: 0x00163914
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyMoveScRsp(MonopolyMoveScRsp other) : this()
		{
			this.bDLJNBKIIEP_ = other.bDLJNBKIIEP_.Clone();
			this.retcode_ = other.retcode_;
			this.rogueMap_ = ((other.rogueMap_ != null) ? other.rogueMap_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600867E RID: 34430 RVA: 0x00165771 File Offset: 0x00163971
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyMoveScRsp Clone()
		{
			return new MonopolyMoveScRsp(this);
		}

		// Token: 0x170025E4 RID: 9700
		// (get) Token: 0x0600867F RID: 34431 RVA: 0x00165779 File Offset: 0x00163979
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<MABPAECJNNF> BDLJNBKIIEP
		{
			get
			{
				return this.bDLJNBKIIEP_;
			}
		}

		// Token: 0x170025E5 RID: 9701
		// (get) Token: 0x06008680 RID: 34432 RVA: 0x00165781 File Offset: 0x00163981
		// (set) Token: 0x06008681 RID: 34433 RVA: 0x00165789 File Offset: 0x00163989
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170025E6 RID: 9702
		// (get) Token: 0x06008682 RID: 34434 RVA: 0x00165792 File Offset: 0x00163992
		// (set) Token: 0x06008683 RID: 34435 RVA: 0x0016579A File Offset: 0x0016399A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KLPNIKBGGHO RogueMap
		{
			get
			{
				return this.rogueMap_;
			}
			set
			{
				this.rogueMap_ = value;
			}
		}

		// Token: 0x06008684 RID: 34436 RVA: 0x001657A3 File Offset: 0x001639A3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolyMoveScRsp);
		}

		// Token: 0x06008685 RID: 34437 RVA: 0x001657B4 File Offset: 0x001639B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolyMoveScRsp other)
		{
			return other != null && (other == this || (this.bDLJNBKIIEP_.Equals(other.bDLJNBKIIEP_) && this.Retcode == other.Retcode && object.Equals(this.RogueMap, other.RogueMap) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008686 RID: 34438 RVA: 0x00165818 File Offset: 0x00163A18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.bDLJNBKIIEP_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.rogueMap_ != null)
			{
				num ^= this.RogueMap.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008687 RID: 34439 RVA: 0x0016587B File Offset: 0x00163A7B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008688 RID: 34440 RVA: 0x00165883 File Offset: 0x00163A83
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008689 RID: 34441 RVA: 0x0016588C File Offset: 0x00163A8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.bDLJNBKIIEP_.WriteTo(ref output, MonopolyMoveScRsp._repeated_bDLJNBKIIEP_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.Retcode);
			}
			if (this.rogueMap_ != null)
			{
				output.WriteRawTag(50);
				output.WriteMessage(this.RogueMap);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600868A RID: 34442 RVA: 0x001658F8 File Offset: 0x00163AF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.bDLJNBKIIEP_.CalculateSize(MonopolyMoveScRsp._repeated_bDLJNBKIIEP_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.rogueMap_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueMap);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600868B RID: 34443 RVA: 0x00165964 File Offset: 0x00163B64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolyMoveScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.bDLJNBKIIEP_.Add(other.bDLJNBKIIEP_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.rogueMap_ != null)
			{
				if (this.rogueMap_ == null)
				{
					this.RogueMap = new KLPNIKBGGHO();
				}
				this.RogueMap.MergeFrom(other.RogueMap);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600868C RID: 34444 RVA: 0x001659DD File Offset: 0x00163BDD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600868D RID: 34445 RVA: 0x001659E8 File Offset: 0x00163BE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 18U)
				{
					if (num != 40U)
					{
						if (num != 50U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							if (this.rogueMap_ == null)
							{
								this.RogueMap = new KLPNIKBGGHO();
							}
							input.ReadMessage(this.RogueMap);
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.bDLJNBKIIEP_.AddEntriesFrom(ref input, MonopolyMoveScRsp._repeated_bDLJNBKIIEP_codec);
				}
			}
		}

		// Token: 0x0400333C RID: 13116
		private static readonly MessageParser<MonopolyMoveScRsp> _parser = new MessageParser<MonopolyMoveScRsp>(() => new MonopolyMoveScRsp());

		// Token: 0x0400333D RID: 13117
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400333E RID: 13118
		public const int BDLJNBKIIEPFieldNumber = 2;

		// Token: 0x0400333F RID: 13119
		private static readonly FieldCodec<MABPAECJNNF> _repeated_bDLJNBKIIEP_codec = FieldCodec.ForMessage<MABPAECJNNF>(18U, MABPAECJNNF.Parser);

		// Token: 0x04003340 RID: 13120
		private readonly RepeatedField<MABPAECJNNF> bDLJNBKIIEP_ = new RepeatedField<MABPAECJNNF>();

		// Token: 0x04003341 RID: 13121
		public const int RetcodeFieldNumber = 5;

		// Token: 0x04003342 RID: 13122
		private uint retcode_;

		// Token: 0x04003343 RID: 13123
		public const int RogueMapFieldNumber = 6;

		// Token: 0x04003344 RID: 13124
		private KLPNIKBGGHO rogueMap_;
	}
}
